package indi.zhifa.recipe.bailan5.coupon.entity.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import indi.zhifa.recipe.bailan.framework.enums.entity.annotations.EnumDesc;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
@EnumDesc(name = "消费券效果",desc = "消费券效果",defaultIdx = 0)
public enum ECouponEffectType {

    DISCOUNT(1,"折扣","折扣类型，花费打个折"),
    REDUCTION(2,"直减","在花费的基础上，直接减去一定价格");

    @EnumValue
    @Getter
    final int code;
    @Getter
    final String name;
    @Getter
    final String description;
}
